package cn.smbms.service;

import cn.smbms.pojo.Bill;
import cn.smbms.pojo.Provider;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProviderService {

    List<Provider> getProList();
    List<Provider> getProListlimit(String proCode,
                                   String proName,
                                   Integer currentPageNo,
                                   Integer pageSize);

    Integer getProviderCount(String proCode,
                             String proName);

    Provider getById(Integer id);

    boolean delete(Integer id);

    boolean modify(Provider provider);

    boolean add(Provider provider);



}
